package com.woniuxy.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * 系统通知表（含管理员触发的通知）(Notification)实体类
 *
 * @author makejava
 * @since 2025-07-10 10:06:52
 */
public class Notification implements Serializable {
    private static final long serialVersionUID = -60145997971870685L;
    /**
     * 通知ID
     */
    private String id;
    /**
     * 目标用户ID（为空则全局通知）
     */
    private String userId;
    /**
     * 通知标题
     */
    private String title;
    /**
     * 通知内容
     */
    private String content;
    /**
     * 是否已读
     */
    private Integer isRead;
    /**
     * 发送时间
     */
    private Date createTime;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getIsRead() {
        return isRead;
    }

    public void setIsRead(Integer isRead) {
        this.isRead = isRead;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

}

